package com.active.dao;

import com.active.bean.ActiveUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ActiveUserMapper {

    ActiveUser getUserById(Integer id);

    ActiveUser getUserByPassword(@Param("name") String name, @Param("password") String password);

}
